package com.shuiyun.jtt.enums;

/**
 * 中华人民共和国交通运输行业标准
 * 道路运输车辆卫星定位系统终端通信协议
 * @author yezhihao
 * @home https://gitee.com/yezhihao/jt808-server
 */
public interface JT808 {

    int 终端通用应答0x0001 = 0x0001;
    int 终端心跳0x0002 = 0x0002;
    int 终端注销0x0003 = 0x0003;
    //2019 new
    int 查询服务器时间0x0004 = 0x0004;
    //2019 new
    int 终端补传分包请求0x0005 = 0x0005;
    int 终端注册0x0100 = 0x0100;
    //2019 modify
    int 终端鉴权0x0102 = 0x0102;
    int 查询终端参数应答0x0104 = 0x0104;
    int 查询终端属性应答0x0107 = 0x0107;
    int 终端升级结果通知0x0108 = 0x0108;
    int 位置信息汇报0x0200 = 0x0200;
    int 位置信息查询应答0x0201 = 0x0201;
    //2019 del
    int 事件报告0x0301 = 0x0301;
    //2019 del
    int 提问应答0x0302 = 0x0302;
    //2019 del
    int 信息点播_取消0x0303 = 0x0303;
    int 车辆控制应答0x0500 = 0x0500;
    //2019 new
    int 查询区域或线路数据应答0x0608 = 0x0608;
    int 行驶记录数据上传0x0700 = 0x0700;
    int 电子运单上报0x0701 = 0x0701;
    //2019 modify
    int 驾驶员身份信息采集上报0x0702 = 0x0702;
    int 定位数据批量上传0x0704 = 0x0704;
    int CAN总线数据上传0x0705 = 0x0705;
    int 多媒体事件信息上传0x0800 = 0x0800;
    int 多媒体数据上传0x0801 = 0x0801;
    int 存储多媒体数据检索应答0x0802 = 0x0802;
    int 摄像头立即拍摄命令应答0x0805 = 0x0805;
    int 数据上行透传0x0900 = 0x0900;
    int 数据压缩上报0x0901 = 0x0901;
    int 终端RSA公钥0x0A00 = 0x0A00;

    int 终端上行消息保留 = 0x0F00 - 0x0FFF;

    int 平台通用应答0x8001 = 0x8001;
    int 服务器补传分包请求0x8003 = 0x8003;
    //2019 new
    int 查询服务器时间应答0x8004 = 0x8004;
    int 终端注册应答0x8100 = 0x8100;

    int 设置终端参数0x8103 = 0x8103;
    int 查询终端参数0x8104 = 0x8104;
    int 终端控制0x8105 = 0x8105;
    int 查询指定终端参数0x8106 = 0x8106;
    int 查询终端属性0x8107 = 0x8107;
    int 下发终端升级包0x8108 = 0x8108;
    int 位置信息查询0x8201 = 0x8201;
    int 临时位置跟踪控制0x8202 = 0x8202;
    int 人工确认报警消息0x8203 = 0x8203;
    //2019 new
    int 服务器向终端发起链路检测请求0x8204 = 0x8204;
    //2019 modify
    int 文本信息下发0x8300 = 0x8300;
    //2019 del
    int 事件设置0x8301 = 0x8301;
    //2019 del
    int 提问下发0x8302 = 0x8302;
    //2019 del
    int 信息点播菜单设置0x8303 = 0x8303;
    //2019 del
    int 信息服务0x8304 = 0x8304;
    int 电话回拨0x8400 = 0x8400;
    int 设置电话本0x8401 = 0x8401;
    int 车辆控制0x8500 = 0x8500;
    //2019 modify
    int 设置圆形区域0x8600 = 0x8600;
    int 删除圆形区域0x8601 = 0x8601;
    //2019 modify
    int 设置矩形区域0x8602 = 0x8602;
    int 删除矩形区域0x8603 = 0x8603;
    //2019 modify
    int 设置多边形区域0x8604 = 0x8604;
    int 删除多边形区域0x8605 = 0x8605;
    int 设置路线0x8606 = 0x8606;
    int 删除路线0x8607 = 0x8607;
    //2019 new
    int 查询区域或线路数据0x8608 = 0x8608;
    int 行驶记录仪数据采集命令0x8700 = 0x8700;
    int 行驶记录仪参数下传命令0x8701 = 0x8701;
    int 上报驾驶员身份信息请求0x8702 = 0x8702;

    int 多媒体数据上传应答0x8800 = 0x8800;

    int 摄像头立即拍摄命令0x8801 = 0x8801;
    int 存储多媒体数据检索0x8802 = 0x8802;
    int 存储多媒体数据上传0x8803 = 0x8803;
    int 录音开始命令0x8804 = 0x8804;
    int 单条存储多媒体数据检索上传命令0x8805 = 0x8805;
    int 数据下行透传0x8900 = 0x8900;
    int 平台RSA公钥0x8A00 = 0x8A00;

    int 报警附件提取0X9208 = 0x9208;
    int 文件上传完成消息应答0X9212 = 0x9212;

    int 平台下行消息保留 = 0x8F00 - 0x8FFF;
    //2019 new
    int 厂商自定义上行消息 = 0xE000 - 0xEFFF;
    //2019 new
    int 商自定义下行消息 = 0xF000 - 0xFFFF;
}